/*
 * AGENT SHERPA
 *  
 * Assignement 2 of the Agent Oriented Software Engineering Course
 * M.Sc. in Advanced Software Engineering (Part-time)
 * University College Dublin www.ucd.ie
 *
 * Copyright (c) 2007 Chris Walsh, Aidan Morrisy and Iain Hull.
 * All rights reserved.
 */
package org.agentsherpa.model;

/**
 * Type of Cell
 */
public enum CellType {
	/** Road, not been close enough to clear */
	ROAD("road", 2), 
	
	/** Road, been close enough to see contains no ieds */
	CLEARED("cleared", 1),
	
	/** Road, been visited */
	VISITED("visited", 0),
	
	/** IED on the road */
	IED("ied", 5),
	
	/** Another drone on the the road **/
	DRONE("drone", 0);

	private CellType(String beliefText, int score) {
		this.beliefText = beliefText;
		this.score = score;
	}
	
	/**
	 * Text for CellType use in belief expressions 
	 */
	public String getBeliefText() {
		return beliefText;
	}
	
	/**
	 * The score in clearing this piece of road.  Note IED is a handled as a 
	 * special case.
	 */
	public int getScore() {
		return score;
	}

	private final String beliefText;
	private final int score;
}